package com.ruoyi.yey.feedback;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.yey.config.mybatis.MybatisDateTypeHandler;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
@TableName("yry_feedback")
public class FeedBackEntity {

    @TableId(value = "id" ,type = IdType.AUTO)
    private Integer id;//Id

    private String parentVxid;//微信id
    private String content;//反馈内容

    @TableField(fill = FieldFill.INSERT,value = "create_time",typeHandler = MybatisDateTypeHandler.class)
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss",locale = "zh")
    private Date createTime;//创建时间

}
